﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Datorgrafik_lab1.Helpers {
    class CubeVerticePositions {
        public Vector3 FrontTopLeft { get; set; }
        public Vector3 FrontTopRight { get; set; }
        public Vector3 FrontBottomLeft { get; set; }
        public Vector3 FrontBottomRight { get; set; }
        public Vector3 BackTopLeft { get; set; }
        public Vector3 BackTopRight { get; set; }
        public Vector3 BackBottomLeft { get; set; }
        public Vector3 BackBottomRight { get; set; }    

        public CubeVerticePositions(Vector3 position, float sizeX, float sizeY, float sizeZ) {
            this.FrontTopLeft = position + new Vector3(-sizeX, sizeY, sizeZ);
            this.FrontTopRight = position + new Vector3(sizeX, sizeY, sizeZ);
            this.FrontBottomLeft = position + new Vector3(-sizeX, 0, sizeZ);
            this.FrontBottomRight = position + new Vector3(sizeX, 0, sizeZ);
            this.BackTopLeft = position + new Vector3(-sizeX, sizeY, -sizeZ);
            this.BackTopRight = position + new Vector3(sizeX, sizeY, -sizeZ);
            this.BackBottomLeft = position + new Vector3(-sizeX, 0, -sizeZ);
            this.BackBottomRight = position + new Vector3(sizeX, 0, -sizeZ);
        }
    }
}
